package net.maku.needy.convert;

import net.maku.needy.entity.NeedyMemberApplyEntity;
import net.maku.needy.vo.NeedyMemberApplyVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 困难帮扶申请
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-20
*/
@Mapper
public interface NeedyMemberApplyConvert {
    NeedyMemberApplyConvert INSTANCE = Mappers.getMapper(NeedyMemberApplyConvert.class);

    NeedyMemberApplyEntity convert(NeedyMemberApplyVO vo);

    NeedyMemberApplyVO convert(NeedyMemberApplyEntity entity);

    List<NeedyMemberApplyVO> convertList(List<NeedyMemberApplyEntity> list);

}